﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Xajhzwb.Components.Data
{
    public class PublishData
    {
        private int m_ID;
        public int ID
        {
            get { return m_ID; }
            set { m_ID = value; }
        }

        private string m_Name;
        public string Name
        {
            get { return m_Name; }
            set { m_Name = value; }
        }
        
        private string m_UrlChk;
        public string UrlChk
        {
            get { return m_UrlChk; }
            set { m_UrlChk = value; }
        }

        private string m_UrlPost;
        public string UrlPost
        {
            get { return m_UrlPost; }
            set { m_UrlPost = value; }
        }
        
        private string m_UrlReply;
        public string UrlReply
        {
            get { return m_UrlReply; }
            set { m_UrlReply = value; }
        }
        
        private bool m_IsReply;
        public bool IsReply
        {
            get { return m_IsReply; }
            set { m_IsReply = value; }
        }
        
        private int m_TitleMin;
        public int TitleMin
        {
            get { return m_TitleMin; }
            set { m_TitleMin = value; }
        }

        private int m_TitleMax;
        public int TitleMax
        {
            get { return m_TitleMax; }
            set { m_TitleMax = value; }
        }

        private int m_ContentMin;
        public int ContentMin
        {
            get { return m_ContentMin; }
            set { m_ContentMin = value; }
        }

        private int m_ContentMax;
        public int ContentMax
        {
            get { return m_ContentMax; }
            set { m_ContentMax = value; }
        }
        
        private bool m_IsUbb = false;
        public bool IsUbb
        {
            get { return m_IsUbb; }
            set { m_IsUbb = value; }
        }
        
        private bool m_IsCrlf = false;
        public bool IsCrlf
        {
            get { return m_IsCrlf; }
            set { m_IsCrlf = value; }
        }

        private string m_CodePage;
        public string CodePage
        {
            get { return m_CodePage; }
            set { m_CodePage = value; }
        }

        private bool m_IsForcePost = false;
        public bool IsForcePost
        {
            get { return m_IsForcePost; }
            set { m_IsForcePost = value; }
        }
        
        /// <summary>
        /// 发布顺序，1为先文章，2为先文件
        /// </summary>
        private int m_PostSort = 1;
        public int PostSort
        {
            get { return m_PostSort; }
            set { m_PostSort = value; }
        }
        
        private bool m_IsSelfChk = false;
        public bool IsSelfChk
        {
            get { return m_IsSelfChk; }
            set { m_IsSelfChk = value; }
        }

        /// <summary>
        /// 检查模式，0为检查链接、1为检查标题、2为都检查
        /// </summary>
        private int m_ChkMode = 1;
        public int ChkMode
        {
            get { return m_ChkMode; }
            set { m_ChkMode = value; }
        }
        
        private string m_PostTitle;
        public string PostTitle
        {
            get { return m_PostTitle; }
            set { m_PostTitle = value; }
        }

        private string m_PostContent;
        public string PostContent
        {
            get { return m_PostContent; }
            set { m_PostContent = value; }
        }
        
        private string m_PostParas;
        public string PostParas
        {
            get { return m_PostParas; }
            set { m_PostParas = value; }
        }

        private string m_PostOtherParas;
        public string PostOtherParas
        {
            get { return m_PostOtherParas; }
            set { m_PostOtherParas = value; }
        }

        private string m_PostUsers;
        public string PostUsers
        {
            get { return m_PostUsers; }
            set { m_PostUsers = value; }
        }

        private bool m_IsFtp = false;
        public bool IsFtp
        {
            get { return m_IsFtp; }
            set { m_IsFtp = value; }
        }

        private bool m_IsFtpPasv = false;
        public bool IsFtpPasv
        {
            get { return m_IsFtpPasv; }
            set { m_IsFtpPasv = value; }
        }

        private string m_FtpServer;
        public string FtpServer
        {
            get { return m_FtpServer; }
            set { m_FtpServer = value; }
        }

        private int m_FtpPort = 8080;
        public int FtpPort
        {
            get { return m_FtpPort; }
            set { m_FtpPort = value; }
        }

        private string m_FtpUser;
        public string FtpUser
        {
            get { return m_FtpUser; }
            set { m_FtpUser = value; }
        }

        private string m_FtpPass;
        public string FtpPass
        {
            get { return m_FtpPass; }
            set { m_FtpPass = value; }
        }

        private string m_FtpDir;
        public string FtpDir
        {
            get { return m_FtpDir; }
            set { m_FtpDir = value; }
        }

        private bool m_IsDelDownFile = false;
        public bool IsDelDownFile
        {
            get { return m_IsDelDownFile; }
            set { m_IsDelDownFile = value; }
        }

        /// <summary>
        /// 翻译语言 0：不变，1：中TO英，2：英TO中简，3：英TO中繁
        /// </summary>
        private int m_TransLang = 0;
        public int TransLang
        {
            get { return m_TransLang; }
            set { m_TransLang = value; }
        }

        private string m_TransParas;
        public string TransParas
        {
            get { return m_TransParas; }
            set { m_TransParas = value; }
        }

        private bool m_IsLogin = false;
        public bool IsLogin
        {
            get { return m_IsLogin; }
            set { m_IsLogin = value; }
        }

        private string m_LoginUrl;
        public string LoginUrl
        {
            get { return m_LoginUrl; }
            set { m_LoginUrl = value; }
        }

        private string m_PostCookies;
        public string PostCookies
        {
            get { return m_PostCookies; }
            set { m_PostCookies = value; }
        }

        private string m_PostOkCode;
        public string PostOkCode
        {
            get { return m_PostOkCode; }
            set { m_PostOkCode = value; }
        }

        private int m_Sort;
        public int Sort
        {
            get { return m_Sort; }
            set { m_Sort = value; }
        }

        private int m_ClassID;
        public int ClassID
        {
            get { return m_ClassID; }
            set { m_ClassID = value; }
        }

        private List<string> m_PostParaList;
        public List<string> PostParaList
        {
            get { return m_PostParaList; }
            set { m_PostParaList = value; }
        }

    }
}
